ActiveReports 8
Observe<T,TI>(T,Expression<Func<T,TI>>,Action<TI>,Action<TI>) Method

Action for old value
Action for new value
More sofisticated changes listener implementation
Syntax
'Declaration
 
Public Overloads Shared Function Observe
    (Of T As System.ComponentModel.INotifyPropertyChanged,
     TI)( _
   ByVal obj As T, _
   ByVal getterExpr As System.Linq.Expressions.Expression(Of Func(Of T,TI)), _
   ByVal leave As System.Action(Of TI), _
   ByVal enter As System.Action(Of TI) _
) As System.IDisposable
public static System.IDisposable Observe<T,TI>( 
   T obj,
   System.Linq.Expressions.Expression<Func<T,TI>> getterExpr,
   System.Action<TI> leave,
   System.Action<TI> enter
)
where T: System.ComponentModel.INotifyPropertyChanged

Parameters

obj
getterExpr
leave
Action for old value
enter
Action for new value

Type Parameters

T
TI
See Also

Reference

ActiveModelListenExtensions Class
ActiveModelListenExtensions Members
Overload List

Support Forum